<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/fu-html" prefix="html"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"
	prefix="decorator"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="page"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<html:base />
<title>
	<decorator:title />
</title>
<decorator:head />
</head>
<body>

	<!-- no login topbar : begin -->

	<s:if test="#session.user==null || #session.user.equals('')">
		<s:a href="index.jsp">
			<s:text name="title_index" />
		</s:a>
		<s:a href="login.jsp">
			<s:text name="title_login" />
		</s:a>
		<s:a href="forgot.jsp">
			<s:text name="title_forgot" />
		</s:a>
		<s:a href="register.jsp">
			<s:text name="title_register" />
		</s:a>
		<hr />
	</s:if>

	<!-- no login topbar : end -->

	<!-- logged in topbar : begin -->

	<s:if test="#session.user!=null && !#session.user.equals('')">
		<s:a href="index.jsp">
			<s:text name="title_index" />
		</s:a>
		<s:a href="passport.jsp">
			<s:text name="title_passport" />
		</s:a>
		<s:a href="modify.jsp">
			<s:text name="title_modify" />
		</s:a>
		<s:a href="logout.jsp">
			<s:text name="title_logout" />
		</s:a>
		<hr />
	</s:if>

	<!-- logged in topbar : end -->

	<!-- body : begin-->

	<decorator:body />

	<!-- body : end -->

</body>
</html>